//
//  AppDelegate.m
//  yiYuanDuoBao
//
//  Created by 罗李苏 on 16/11/21.
//  Copyright © 2016年 罗李苏. All rights reserved.
//

#import "AppDelegate.h"
#import "LSViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    LSViewController *vc = [[LSViewController alloc] init];
    self.window.rootViewController = vc;
    [self.window makeKeyAndVisible];
    
//    LSViewController *root = [LSViewController new];
//    LSNavViewController *nav = [[LSNavViewController alloc]init];
//    
//    if ([nav respondsToSelector:@selector(setAutomaticallyAdjustsScrollViewInsets:)]) {
//        nav.automaticallyAdjustsScrollViewInsets = NO;
//    }
//    [nav pushViewController:root animated:NO];
//    
//    self.rootViewController = nav;
//    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
//    self.window.rootViewController = self.rootViewController;
//    self.window.backgroundColor = [UIColor grayColor];
//    [self.window makeKeyAndVisible];

    return YES;
}




@end
